<?php

use Illuminate\Database\Seeder;

class BookTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {


        \DB::table('book')->delete();

        \DB::table('book')->insert(array(
            0 =>
                array(
                    'id' => 1,
                    'name' => '天才与疯子',
                    'cover' => 'https://bkimg.cdn.bcebos.com/pic/f2deb48f8c5494eeba7972792ff5e0fe99257e72?x-bce-process=image/watermark,image_d2F0ZXIvYmFpa2U4MA==,g_7,xp_5,yp_5/format,f_auto',
                    'intro' => '本书主要内容包括散落满地的思考碎片、语言的转换、天才和疯子的根本区别、疯子的语词新作和天才的组合创造、强迫症·强迫人格·使命感、哦，强烈性穷思竭虑、抽象思维障碍·记忆障碍·逻辑倒错性思维、大忧郁营养了天才的创造力、大脑奏出交响曲、三位精神错乱的日本大作家、精神病院的常客：大数学家康托尔、徘徊在精神病边缘地带的维特根斯坦等详细内容',
                    'user_id' => 9,
                    'type_id' => '[3, 6]',
                    'view_num' => 1,
                    'like_num' => 0,
                    'comment_num' => 2,
                    'share_num' => 4,
                    'collect_num' => 6,
                    'is_top' => 2,
                    'module_id' => '1',
                    'status' => '2',
                    'admin_id' => '1',
                    'created_at' => NULL,
                    'updated_at' => NULL,
                    'deleted_at' => NULL,
                ),
            1 =>
                array(
                    'id' => 2,
                    'name' => '天才与疯子',
                    'cover' => 'https://bkimg.cdn.bcebos.com/pic/f2deb48f8c5494eeba7972792ff5e0fe99257e72?x-bce-process=image/watermark,image_d2F0ZXIvYmFpa2U4MA==,g_7,xp_5,yp_5/format,f_auto',
                    'intro' => '本书主要内容包括散落满地的思考碎片、语言的转换、天才和疯子的根本区别、疯子的语词新作和天才的组合创造、强迫症·强迫人格·使命感、哦，强烈性穷思竭虑、抽象思维障碍·记忆障碍·逻辑倒错性思维、大忧郁营养了天才的创造力、大脑奏出交响曲、三位精神错乱的日本大作家、精神病院的常客：大数学家康托尔、徘徊在精神病边缘地带的维特根斯坦等详细内容',
                    'user_id' => 9,
                    'type_id' => '[3]',
                    'view_num' => 0,
                    'like_num' => 0,
                    'comment_num' => 0,
                    'share_num' => 0,
                    'collect_num' => 0,
                    'is_top' => 6,
                    'module_id' => '1',
                    'status' => '2',
                    'admin_id' => '1',
                    'created_at' => NULL,
                    'updated_at' => NULL,
                    'deleted_at' => NULL,
                ),
        ));


    }
}
